package com.leyou.search.repository;

import com.leyou.search.domain.Goods;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

/**
 * 操作索引库简单crud
 * ElasticsearchRepository<Goods, Long>
 *     第一个泛型写索引库对象，第二个泛型写对象主键
 */
public interface SearchRepository extends ElasticsearchRepository<Goods, Long> {
}
